//
//  ShardDetailCell.h
//  Pianke
//
//  Created by BetaTheta on 16/1/22.
//  Copyright © 2016年 BetaTheta. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ShardModel.h"

@interface ShardDetailCell : UITableViewCell

@property(nonatomic, retain) UIImageView *iconImg;/**<头像*/
@property(nonatomic, retain) UILabel *unameLabel;
@property(nonatomic, retain) UILabel *timeLabel;
@property(nonatomic, retain) UILabel *contentLabel;
@property(nonatomic, retain) UIImageView *backImg; /**<背景图片*/
//@property(nonatomic, retain) UILabel *commentLabel;

@property(nonatomic, retain) UIWebView *webView;

// 属性传值
@property(nonatomic, retain) ShardModel *shardModel;
// 图片自适应函数
+(CGFloat)heightWithModel:(ShardModel *)mod;
// 内容自适应
+(CGFloat)heithtWithText:(NSString *)text;

@end
